package com.up.vms.application.common.utils;
/**
 * 状态码平台，可以进行更改
 */
public class EduErrors {
    /************公共平台状态码*************/
    public static final int CODE_100000 = 100000;//请求成功	正确请求以及正确返回的情况下
    public static final int CODE_100007 = 100007;//参数为空     请求参数中任一参数为空的情况下
    public static final int CODE_100010 = 100010;//token生成失败
    public static final int CODE_100011 = 100011;//校验token失败
    public static final int CODE_100012 = 100012;//请求内容异常
    public static final int CODE_100013 = 100013;//数据库内容异常
    public static final int CODE_100050_1 = 100050;//密码错误
    public static final int CODE_100051_1 = 100051;//用户新增失败
    public static final int CODE_100052_1 = 100052;//角色新增失败
    public static final int CODE_100053_1 = 100053;//子系统信息新增失败
    public static final int CODE_100054_1 = 100054;//管理员新增失败
    public static final int CODE_100055_1 = 100055;//模块新增失败
    public static final int CODE_100056_1 = 100056;//组织新增失败
    public static final int CODE_100057_1 = 100057;//无权限删除管理员
    public static final int CODE_100058_1 = 100058;//批量删除子系统信息失败
    public static final int CODE_100059_1 = 100059;//用户删除失败
    public static final int CODE_100060_1 = 100060;//批量删除组织失败
    public static final int CODE_100061_1 = 100061;//普通管理员激活失败
    public static final int CODE_100062_1 = 100062;//用户激活失败
    public static final int CODE_100063_1 = 100063;//组织更新失败
    public static final int CODE_100064_1 = 100064;//更新子系统信息失败
    public static final int CODE_100065_1 = 100065;//用户明细更新失败
    public static final int CODE_100066_1 = 100066;//模块更新失败
    public static final int CODE_100067_1 = 100067;//当前用户无授权角色
    public static final int CODE_100068_1 = 100068;//根据用户授权角色信息的记录查无角色信息
    public static final int CODE_100069_1 = 100069;//根据权限Id查无权限
    public static final int CODE_100070_1 = 100070;//根据角色Id查无角色信息
    public static final int CODE_100071_1 = 100071;//查询子系统列表失败
    public static final int CODE_100072_1 = 100072;//模块不存在
    public static final int CODE_100073_1 = 100073;//用户不存在
    public static final int CODE_100074_1 = 100074;//管理员用户不存在
    public static final int CODE_100075_1 = 100075;//该用户未激活
    public static final int CODE_100076_1 = 100076;//组织不存在
    public static final int CODE_100077_1 = 100077;//该子系统信息不存在
    public static final int CODE_100078_1 = 100078;//校验密码异常
    public static final int CODE_100079_1 = 100079;//无权限进行激活
    public static final int CODE_100080_1 = 100080;//账号长度为6-11位
    public static final int CODE_100081_1 = 100081;//密码长度为8-16位
    public static final int CODE_100082_1 = 100082;//组织名称长度为30个字以内
    public static final int CODE_100083_1 = 100083;//管理员名字长度为1-9个字
    public static final int CODE_100084_1 = 100084;//密码编译失败
    public static final int CODE_100085_1 = 100085;//模块名重复
    public static final int CODE_100086_1 = 100086;//当前用户与角色关系信息已存在
    public static final int CODE_100087_1 = 100087;//当前权限与角色关系信息已存在
    public static final int CODE_100088_1 = 100088;//当前权限已存在,不可重复添加
    public static final int CODE_100089_1 = 100089;//当前角色已存在,不可重复添加
    public static final int CODE_100090_1 = 100090;//用户名已存在
    public static final int CODE_100091_1 = 100091;//账号已存在
    public static final int CODE_100092_1 = 100092;//组织名已存在
    public static final int CODE_100093_1 = 100093;//生成验证码失败
    public static final int CODE_100094_1 = 100094;//验证码错误
    public static final int CODE_100095_1 = 100095;//当前子系统编码subCode已存在
    public static final int CODE_100096_1 = 100096;//用户无需激活
    public static final int CODE_100097_1 = 100097;//管理员无需激活
    public static final int CODE_100098_1 = 100098;//用户添加角色失败
    public static final int CODE_100099_1 = 100099;//用户信息不存在
    public static final int CODE_100100_1 = 100100;//帐号未绑定人员，请联系管理员绑定
    public static final int CODE_100110_1 = 100110;//用户未绑定工种
    /************实验室错误码*************/
    public static final int CODE_200000 = 200000;//请求成功
    public static final int CODE_200091_1 = 200091;//人员类型请求失败
    public static final int CODE_200050_1 = 200050;//新增培训计划失败
    public static final int CODE_200051_1 = 200051;//name转json格式错误
    public static final int CODE_200052_1 = 200052;//组织不存在
    public static final int CODE_200053_1 = 200053;//人员不存在
    public static final int CODE_200054_1 = 200054;//人员信息不存在
    public static final int CODE_200055_1 = 200055;//主题长度为0-50个字
    public static final int CODE_200056_1 = 200056;//保底库存数量不能小于0
    public static final int CODE_200057_1 = 200057;//备注长度为0-50个字

}
